package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.sql.Time;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.poi.hpsf.Decimal;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 房价方案-房型关联表
 * @Author: jeecg-boot
 * @Date:   2023-04-07
 * @Version: V1.0
 */
@Data
@TableName("bus_house_price_scheme_layout_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_house_price_scheme_layout_info对象", description="房价方案-房型关联表")
public class BusHousePriceSchemeLayout implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**关联房价方案*/
	@Excel(name = "关联房价方案", width = 15)
    @ApiModelProperty(value = "关联房价方案")
    private String schemeId;
	/**关联房型*/
	@Excel(name = "关联房型", width = 15)
    @ApiModelProperty(value = "关联房型")
    private String layoutId;
	/**执行房价*/
	@Excel(name = "执行房价", width = 15)
    @ApiModelProperty(value = "执行房价")
    private BigDecimal money;
	/**默认离店时间*/
	@Excel(name = "默认离店时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "默认离店时间")
    private Time departureTime;
	/**早餐数量*/
	@Excel(name = "早餐数量", width = 15)
    @ApiModelProperty(value = "早餐数量")
    private Integer breakfastNumber;
	/**中餐数量*/
	@Excel(name = "中餐数量", width = 15)
    @ApiModelProperty(value = "中餐数量")
    private Integer lunchNumber;
	/**晚餐数量*/
	@Excel(name = "晚餐数量", width = 15)
    @ApiModelProperty(value = "晚餐数量")
    private Integer dinnerNumber;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private Integer delFlag;
	/**createBy*/
    @ApiModelProperty(value = "createBy")
    private String createBy;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
	/**updateBy*/
    @ApiModelProperty(value = "updateBy")
    private String updateBy;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;

    private transient String layoutName;
    private transient BigDecimal layoutPrice;

    @TableField(exist = false)
    private List<BusSchemeLayoutDailyPrice> schemeLayoutDailyPriceList;
}
